.main{
  height: 100%;
  width: 100%;
  &_search{
    margin-top: 20px;
    height: 60px;
    display: flex;
    align-items: center;
  }
  &_header{
    overflow: hidden;
    margin-top: 20px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  &_category{
    width: 20%;
    height: 100%;
    background-color: #ccc;
    border-radius: 16px;
    overflow: hidden;
    box-sizing: border-box;
    padding: 10px;
    &_list{
      display: flex;
      align-items: center;
      height: 100%;
      justify-content: space-between;
      //font-size: 20px;
      border-radius: 16px;
      &:hover{
        background-color: #e37215;
        color: #fff;
      }
      span{
        cursor: pointer;
      }
    }
  }
  &_carousel{
    width: 78%;
    border-radius: 16px;
    overflow: hidden;
  }
  &_carousel_active{
    width: 78%;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(193, 14, 213, 0.73);
    height: calc(100% - 2px);
    box-sizing: border-box;
    padding: 20px;
  }
}
.category_prent{
  height: 100%;
  width: 80%;
  box-sizing: border-box;
  padding: 6px;
  span{
    display: inline-block;
    margin: 0 4px;
    height: 30px;
  }
}
.active_name{
  color: #333;
  font-size: 18px;
  height: 20px;
  line-height: 20px;
  cursor: pointer;
}
.active_children{
  color: #3c3c3c;
  display: flex;
  flex-wrap: wrap;
  margin-top: 6px;
  margin-bottom: 20px;
  div{
    display: flex;
    align-items: center;
  }
  span{
    display: block;
    cursor: pointer;
    margin: 0 20px;
    line-height: 40px;
  }
  i{
    display: block;
    height: 10px;
    //width: 2px;
    border: 1px solid #ccc;
  }
}

.main_product{
  margin-top: 20px;
}
.recommend{
  margin-top: 20px;
  font-size: 16px;
  &_box{
    display: flex;
    width: 100%;
  }
  &_list{
    overflow: hidden;
    margin: 10px;
    border-radius: 16px;
    padding: 6px;
    box-sizing: border-box;
    width: calc(100% / 5.5);
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    img{
      border-radius: 16px;
    }
    &_name{
      font-weight: 800;
      margin: 6px 0;
    }
    &_info{
      margin: 6px 0;
      display: flex;
      width: 100%;
      align-items: center;
      justify-content: space-between;
      span:nth-of-type(1){
        color: #e37215;
        font-weight: bolder;
        font-size: 20px;
      }
      &_discount{
        color: #887f77;
        text-decoration: line-through;
      }
    }
    &:hover{
      border: 1px solid rgba(222, 4, 218, 0.83);
      background-color: rgba(159, 12, 86, 0.84);
      color: #fff;
    }
  }
}
